<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo('charset'); ?>" />
	<?php if (is_search()) { ?>
	   <meta name="robots" content="noindex, nofollow" /> 
	<?php } ?>

	<title>
		   <?php
		      if (function_exists('is_tag') && is_tag()) {
		         single_tag_title("Tag Archive for &quot;"); echo '&quot; - '; }
		      elseif (is_archive()) {
		         wp_title(''); echo ' Archive - '; }
		      elseif (is_search()) {
		         echo 'Search for &quot;'.wp_specialchars($s).'&quot; - '; }
		      elseif (!(is_404()) && (is_single()) || (is_page())) {
		         wp_title(''); echo ' - '; }
		      elseif (is_404()) {
		         echo 'Not Found - '; }
		      if (is_home()) {
		         bloginfo('name'); echo ' - '; bloginfo('description'); }
		      else {
		          bloginfo('name'); }
		      if ($paged>1) {
		         echo ' - page '. $paged; }
		   ?>
	</title>
	
	<link rel="shortcut icon" href="/favicon.ico">
	<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/reset.css">
	<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/style.css">
	<script type="text/javascript" src="<?php echo bloginfo('template_url');?>/js/jquery-1.9.0.min.js"></script>
	<!--[if lt IE 9]>
	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/ie.css" />
	<![endif]-->
		<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
	<?php if ( is_singular() ) wp_enqueue_script('comment-reply'); ?>
	<?php wp_head(); ?>
	<?php if(ICL_LANGUAGE_CODE == 'vi'){?>
	<style type="text/css">
		.main-nav li{float:left; padding:8px 9px 0; text-align:center;}
	</style>
	<?php }?>
	<style type="text/css">
	#lang_sel_list span{display: none;}
	</style>
	
</head>
<body <?php body_class();?>>
	<div class="wrapper">
		<!-- header -->
		<header class="header">
	    	<div class="logo">
	    		<a href="<?php echo get_option('home'); ?>/">
	    			<img src="<?php echo bloginfo('template_url');?>/images/logo.png" alt="Your Company" />
	    		</a>
	    	</div>
			<div class="top-head"><?php echo get_option('custom_name_support')?>: <strong><?php echo get_option('custom_phone_support')?></strong> - <strong><?php echo get_option('custom_email_support')?></strong></div>
			<?php do_action('icl_language_selector'); ?>
	        <nav class="menu">
	        <?php wp_nav_menu(array('theme_location'=>'main_nav','menu_class'=> '','menu_id'=>'','container'=>false))?>
	        </nav>
			
	        <div class="clear"></div>
	    </header>
	    <!-- end header -->
